home *** CD-ROM | disk | FTP | other *** search
- Path: news.luc.edu!user
- From: VArase@varase.it.luc.edu (Verne Arase)
- Newsgroups: comp.lang.c
- Subject: Re: Borland C's tmpnam()
- Date: Mon, 25 Mar 1996 23:42:11 +0000
- Organization: LUMC
- Message-ID: <AD7CDFD39668AABD2@mcdiala01.it.luc.edu>
- References: <AD75E5DC9668E2A52@mcdiala13.it.luc.edu> <Pine.A32.3.91.960322134158.23347A-100000@red.weeg.uiowa.edu> <AD78E5E796681EC58@mcdialb10.it.luc.edu> <827626790snz@genesis.demon.co.uk>
- NNTP-Posting-Host: 147.126.240.101
-
- In article <827626790snz@genesis.demon.co.uk>,
- Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
-
- >>It seems to be a good start for a serious tempname(), however :-).
- >
- >The C language standard has no concept of a directory so, unless I
- >misunderstand you, I can't see what this would do differently from
- >tmpnam().
-
- Perhaps Borland C is supported on more than one platform?
-
- I thought that only DOS/Intel offspring platforms were supported; that's
- why I limited my query to that specific compiler; else I would've included
- the target environment.
-
- The Borland C compiler tmpnam() function returns an 8.3 filename, which is
- insufficient for determining if a filename is unique in any but the default
- directory (if indeed it does that). I was reluctant to change the default
- directory for reasons I won't enumerate here.
-
- If you're stating that tmpnam() under Borland C does indeed check to see
- that the file name is unique, I'll quash that reluctance and change the
- default directory.
-
- Are you saying you know this as a known fact, or are you simply reciting
- some ANSI C recommendation?
-
- ---
- The above are my own opinions, and not those of my employer.
-